<%--
  Created by IntelliJ IDEA.
  User: DY
  Date: 2021/12/14
  Time: 16:03
  To change this template use File | Settings | File Templates.
--%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="shiro" uri="http://shiro.apache.org/tags" %>
<html>
<head>
    <title>Title</title>
    <link rel="stylesheet" href="${pageContext.request.contextPath}/static/css/pintuer.css">
    <link rel="stylesheet" href="${pageContext.request.contextPath}/static/css/admin.css">
    <script src="${pageContext.request.contextPath}/static/js/jquery.js"></script>
</head>
<body style="background-color:#f2f9fd;">
<div class="header bg-main">
    <div class="logo margin-big-left fadein-top">
        <h1><img src="${pageContext.request.contextPath}/static/images/y.jpg" class="radius-circle rotate-hover" height="50" alt=""/>后台管理中心
        </h1>
    </div>
    <div class="head-l">
        <a class="button button-little bg-green" href="" target="_blank"><span class="icon-home"></span>前台首页</a> &nbsp;&nbsp;
        <a href="##" class="button button-little bg-blue"><span class="icon-wrench"></span>清除缓存</a> &nbsp;&nbsp;
        <a class="button button-little bg-red" href="${pageContext.request.contextPath}/logout"><span class="icon-power-off"></span> 退出登录</a></div>
</div>
<div class="leftnav">
    <div class="leftnav-title"><strong><span class="icon-list"></span>菜单列表</strong></div>
    <shiro:hasPermission name="sys:menu">
    <h2><span class="icon-user"></span>系统管理</h2>
    <ul style="display:block">
        <shiro:hasPermission name="user:list">
        <li><a href="${pageContext.request.contextPath}/sysUserController/sysUserList" target="right"><span class="icon-caret-right"></span>用户管理</a></li>
        </shiro:hasPermission>
        <shiro:hasPermission name="role:list">
        <li><a href="${pageContext.request.contextPath}/sysRoleController/sysRoleList" target="right"><span class="icon-caret-right"></span>角色管理</a></li>
        </shiro:hasPermission>
        <shiro:hasPermission name="permission:list">
        <li><a href="${pageContext.request.contextPath}/sysPermissionController/sysPermissionList" target="right"><span class="icon-caret-right"></span>权限管理</a></li>
        </shiro:hasPermission>
    </ul>
    </shiro:hasPermission>
    <shiro:hasPermission name="email:menu">
    <h2><span class="icon-pencil-square-o"></span>邮件管理</h2>
    <ul>
        <li><a href="#" target="right"><span class="icon-caret-right"></span>写邮件</a></li>
        <li><a href="#" target="right"><span class="icon-caret-right"></span>收件箱</a></li>
        <li><a href="#" target="right"><span class="icon-caret-right"></span>发件箱</a></li>
        <li><a href="#" target="right"><span class="icon-caret-right"></span>草稿箱</a></li>
        <li><a href="#" target="right"><span class="icon-caret-right"></span>垃圾箱</a></li>
    </ul>
    </shiro:hasPermission>

    <shiro:hasPermission name="cK:CGGL">
    <h2><span class="icon-pencil-square-o"></span>进销存管理</h2>
    <ul>
        <li><a href="#" target="right"><span class="icon-caret-right"></span>进货管理</a></li>
        <li><a href="#" target="right"><span class="icon-caret-right"></span>出货管理</a></li>
    </ul>
    </shiro:hasPermission>
</div>
<script type="text/javascript">
    $(function(){
        $(".leftnav h2").click(function(){
            $(this).next().slideToggle(200);
            $(this).toggleClass("on");
        })
        $(".leftnav ul li a").click(function(){
            $("#a_leader_txt").text($(this).text());
            $(".leftnav ul li a").removeClass("on");
            $(this).addClass("on");
        })
    });


</script>
<ul class="bread">
    <li><a href="{:U('Index/info')}" target="right" class="icon-home"> 首页</a></li>
    <li><a href="##" id="a_leader_txt">网站信息</a></li>
    <li><b>当前语言：</b><span style="color:red;">中文</span>
        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;切换语言：<a href="##">中文</a> &nbsp;&nbsp;<a href="##">英文</a></li>
</ul>
<div class="admin">
    <iframe scrolling="auto" rameborder="0" src="info.html" name="right" width="100%" height="100%"></iframe>
</div>
<div style="text-align:center;">
    <p>来源:<a href="http://www.mycodes.net/" target="_blank">源码之家</a></p>
</div>
</body>
</html>